package pers.li.dao;

import pers.li.model.Partner;
import pers.li.utils.DataProcess;

import java.util.List;

public class PartnerDao {
    private final DataProcess dp = new DataProcess(true);

    public List<Partner> getPartners() {
        String sql = "select *from t_partner";
        return dp.getObjectList(sql, Partner.class);
    }
}
